import observe from "./observe.js";
import Watcher from "./Watcher.js";
let obj = {
    a: {
        m: {
            n: 5
        },
        dd: 1
    },
    b: 4,
    c: {
        d: {
            e: {
                f: 666
            }
        }
    },
    e: [1, 2, 3, 4]
};

export default obj;

observe(obj);
new Watcher(obj, 'a.m.n', function() {
    console.log('★★★★');
    console.log(arguments);
    console.log(this);
});
obj.a.m.n = 10;